<html>

<head>
<style type="text/css">
body
{ border-style:solid;
border-bottom-color:#ff0000; }
h1
{ border-style:solid;
border-bottom-color:#ff0000; }
p
{ border-style:solid;
border-bottom-color:#ff0000; }
span
{ border-style:solid;
border-bottom-color:#ff0000; }
</style>
</head>

<body>
<h1>This is heading 1</h1>
<p>This is a paragraph.</p>
<span>This is a span</span>
</body>

</html>